/**
 * Created with  SublimeText
 * @Author:      Lyle
 * @DateTime:    2016-12-06 22:23:39
 * @Description: 
 */
import { bindActionCreators } from 'redux'
import { connect } from 'react-redux'
import Home from '../components/Home'
import * as HomeActions from '../actions/home'

function mapStateToProps(state) {
    return {
        loginState: state.loginState
    }
}


function mapDispatchToProps(dispatch) {
    return bindActionCreators(HomeActions, dispatch)
}


export default connect(mapStateToProps, mapDispatchToProps)(Home)
